<template>
  <div class="app-container">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="平面图" name="pmta">
        <pmta></pmta>
      </el-tab-pane>
      <el-tab-pane label="发布图" name="pmtb">
        <pmtb></pmtb>
      </el-tab-pane>
      <el-tab-pane label="基地信息" name="pmtc">
        <pmtc></pmtc>
      </el-tab-pane>
      <el-tab-pane label="首页图" name="pmtd">
        <pmtd></pmtd>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
  import pmta from "./pmta";
  import pmtb from "./pmtb";
  import pmtc from "./pmtc";
  import pmtd from "./pmtd";

  export default {
    name: "IndexPmt",
    components: {
      pmta,pmtb,pmtc,pmtd
    },
    data() {
      return {
        activeName:'pmta'
      };
    },
    created() {

    },
    methods: {
      handleClick(tab, event) {
        // console.log(tab, event);
      }
    }
  };
</script>
